Skip to content

[PM-14243] Free organization limit is not enforced when editing user #5155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

r-tome
Copy link
Contributor

@r-tome r-tome commented Dec 16, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-14243

📔 Objective

Enforce the free organization limit when editing a user. Add unit tests to verify this enforcement during organization creation and member acceptance flows.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@r-tome r-tome changed the title Ac/pm 14243/free organization limit is not enforced when editing user [PM-14243] Free organization limit is not enforced when editing user Dec 16, 2024
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

Attention: Patch coverage is 65.38462% with 9 lines in your changes missing coverage. Please review.

Project coverage is 44.09%. Comparing base (9efcbec) to head (62bc376).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...OrganizationUsers/UpdateOrganizationUserCommand.cs 65.38% 4 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5155      +/-   ##
==========================================
+ Coverage   44.07%   44.09%   +0.01%     
==========================================
  Files        1476     1476              
  Lines       68260    68270      +10     
  Branches     6178     6181       +3     
==========================================
+ Hits        30089    30106      +17     
+ Misses      36864    36854      -10     
- Partials     1307     1310       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Dec 16, 2024

Logo
Checkmarx One – Scan Summary & Details4204838c-6ddf-46cc-bfc1-7e7c7d14de18

Fixed Issues (4)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72
LOW Log_Forging /src/Api/AdminConsole/Controllers/ProvidersController.cs: 72

@r-tome r-tome marked this pull request as ready for review December 17, 2024 10:05
@r-tome r-tome requested a review from a team as a code owner December 17, 2024 10:05
@r-tome r-tome requested a review from BTreston December 17, 2024 10:05
BTreston
BTreston previously approved these changes Dec 18, 2024
@r-tome r-tome removed the needs-qa label Jan 21, 2025
@r-tome r-tome merged commit edb74ad into main Jan 21, 2025
53 of 54 checks passed
@r-tome r-tome deleted the ac/pm-14243/free-organization-limit-is-not-enforced-when-editing-user branch January 21, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants